<div class="ui table-wrap">
    <table class="ui celled table">
        <thead>
            <tr><th class="collapsing">商家名称</th>
            <th class="collapsing">联系人</th>
            <th class="collapsing">联系电话</th>
            <th class="collapsing">登录帐号</th>
            <th class="collapsing">登录密码</th>
            <th class="collapsing">商家简介</th>
            <th class="collapsing">操作</th>
        </tr></thead>
        <tbody>
            <% data.list.forEach(function(row){ %>
            <tr>
                <td data-name="name" data-value="<%=row.name%>"><%=row.name%></td>
                <td data-name="contactUser" data-value="<%=row.contactUser%>"><%=row.contactUser%></td>
                <td data-name="contactPhone" data-value="<%=row.contactPhone%>"><%=row.contactPhone%></td>
                <td data-name="account" data-value="<%=row.account%>"><%=row.account%></td>
                <td data-name="password" data-value="<%=row.password%>"><%=row.password%></td>
                <td data-name="introduction" data-value="<%=row.introduction%>"><%=row.introduction%></td>
                <td>
                    <a class="edit" href="javascript:void(0);" data-id="<%=row.id%>" data-key="id"  data-url="/admin/distributor/account/update">编辑</a>&nbsp;&nbsp;
                    <a class="delete" href="javascript:void(0);" data-id="<%=row.id%>" data-key="id"  data-url="/admin/distributor/account/delete">删除</a>
                </td>
            </tr>
            <% }); %>
        </tbody>
    </table>
</div>
